var ProtoControllers = angular.module('ProtoControllers', []);

ProtoControllers.controller('ProtocolWriterControl', ['$scope','$http',
    function($scope,$http){
        console.log('ProtocolWriterControl running.');
        $http.get('api/index.php/user', function(data){
           $scope.userdata = data;
        });
        $scope.test = 'TESTAUSGABE - WriterControl';
    }]);

ProtoControllers.controller('SearchControl', ['$scope', '$http',
    function($scope, $http){
        $scope.test = 'TESTAUSGABE - SearchControl';
    }]);